//===============================================================================
//	CPing.h
//	ping
//===============================================================================

#pragma once

#include "BaseMessage.h"

class CPing :
	public BaseMessage
{
public:
	CPing(uint32_t uid, uint32_t pn);
	~CPing();

public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{
		return new CPing(uid, pn);
	}

public:
	//---------------------------------------------------------------------------
	virtual void HandleMessage(Player* pplayer) override final
	{}

public:
	//---------------------------------------------------------------------------
	void SetPingTime(uint32_t ch, uint32_t cl, int32_t server_time);
};

